package edu.gtcfla.km.admin.appmodules.vo;

import java.util.LinkedHashSet;
import java.util.Set;

import org.vsg.common.web.json.TreeNode;

public class HierarchyMenuResourcePermissionVO extends TreeNode {
	
	private String code;
	
	private int menuLevel;
	
	private short diabled;
	
	private String acl;


	private Set<HierarchyMenuResourcePermissionVO> children 
		= new LinkedHashSet<HierarchyMenuResourcePermissionVO>();	
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getMenuLevel() {
		return menuLevel;
	}

	public void setMenuLevel(int menuLevel) {
		this.menuLevel = menuLevel;
	}

	public short getDiabled() {
		return diabled;
	}

	public void setDiabled(short diabled) {
		this.diabled = diabled;
	}

	public Set<HierarchyMenuResourcePermissionVO> getChildren() {
		return children;
	}
	
	public void addChild(HierarchyMenuResourcePermissionVO child) {
		children.add( child );
	}

	public String getAcl() {
		return acl;
	}

	public void setAcl(String acl) {
		this.acl = acl;
	}




}
